//package com.plian.system.wrapper.sys.warning;
//
//import com.plian.system.dto.sys.warning.WarningFactorDTO;
//import com.plian.system.entity.sys.warning.WarningFactor;
//import com.plian.system.mybatis.support.BaseWrapper;
//import com.plian.system.vo.sys.warning.WarningFactorVO;
//import com.plian.system.wrapper.util.CacheWrapperUtil;
//import com.plian.system.wrapper.util.WrapperUtil;
//import org.mapstruct.Mapper;
//import org.mapstruct.Mapping;
//import org.mapstruct.Mappings;
//
//import static com.plian.system.wrapper.util.WrapperConstant.DICT_CODE_TO_NAME;
//import static com.plian.system.wrapper.util.WrapperConstant.SPRING;
//
///**
// * 包装类,返回视图层所需的字段
// *
// * @author gangan
// * @since 2023-04-14
// */
//@Mapper(componentModel = SPRING, uses = {CacheWrapperUtil.class, WrapperUtil.class})
//public interface WarningFactorWrapper extends BaseWrapper<WarningFactor, WarningFactorDTO, WarningFactorVO> {
//
//    @Override
//    @Mappings(value = {
//            @Mapping(source = "businessModule", target = "businessModuleName", qualifiedByName = DICT_CODE_TO_NAME)
//    })
//    WarningFactorVO entityToVO(WarningFactor entity);
//}
